<div class='screen_buttons'>
<% 
var active = false;
logScreens.each(function(screen) {
  var sactive = screen.isActive(object, getPair);
  if (sactive) { active = true; }
%>
  <input type='checkbox' <% if (sactive) { %>checked="checked" <% } %>title='screen-<%= screen.cid %>'/>
<% }); %>
</div>
<div class='diode floatl <% if (active) { print('active color' + object.color) } %>'></div>
<div class='object_name floatl'><%= object.get('name') %></div>
<div style='clear: both;'></div>